BASEXML = """
<?xml version="1.0" encoding="UTF-8"?>
<MSG>
    <HEAD>
        <MESSAGESENDDATETIME>20230701000000</MESSAGESENDDATETIME>
        <MESSAGESEQUENCE>20230701000000</MESSAGESEQUENCE>
        <MESSAGETYPE>ATMI</MESSAGETYPE>
        <MESSAGESUBTYPE>FPDI</MESSAGESUBTYPE>
        <SOURCESYSTEMID>ZUCKNTFM</SOURCESYSTEMID>
        <DESTINATIONSYSTEMID>ZLXNZUCK</DESTINATIONSYSTEMID>
    </HEAD>
    <BODY>
    {ITEMLIST}
    </BODY>
</MSG>
"""
ITEM = """
<ITEM>
            {FLIGHT_IDENTIFICATION}
            {NTFM_FLIGHT}
            <PRIORITY>{PRIORITY}</PRIORITY>
            <AOBT>{AOBT}</AOBT>
            <TOBT>{TOBT}</TOBT>
            <COBT>{COBT}</COBT>
            <CTOT>{CTOT}</CTOT>
            <CTOT_SOURCE>{CTOT_SOURCE}</CTOT_SOURCE>
            <COBT_TYPE>{COBT_TYPE}</COBT_TYPE>
            <CTOT_COMPLIANT>{CTOT_COMPLIANT}</CTOT_COMPLIANT>
            <ASBT>{ASBT}</ASBT>
            <AGCT>{AGCT}</AGCT>
            <POSITION>{POSITION}</POSITION>
            <CONTRL_STATUS>{CONTRL_STATUS}</CONTRL_STATUS>
            <HOBT>{HOBT}</HOBT>
            <HIT_FLOWCONTROLS>
            {HIT_FLOWCONTROLS}
            </HIT_FLOWCONTROLS>
            <HIT_FLOWCONTROLS_HIS>
            {HIT_FLOWCONTROLS_HIS}
            </HIT_FLOWCONTROLS_HIS>
            <CTOT_COMPLIANT>{CTOT_COMPLIANT}</CTOT_COMPLIANT>
            <EXECUTEDATE>{EXECUTEDATE}</EXECUTEDATE>
        </ITEM>
"""

FLIGHT_IDENTIFICATION = """
<FLIGHT_IDENTIFICATION>
    <ID>{ID}</ID>
    <FLIGHTID>{flight}</FLIGHTID>
    <REGISTENUM>{REGISTENUM}</REGISTENUM>
    <SOBT>{SOBT}</SOBT>
    <EOBT>{EOBT}</EOBT>
    <DEPAP>{DEPAP}</DEPAP>
    <ARRAP>{ARRAP}</ARRAP>
</FLIGHT_IDENTIFICATION>
"""
NTFM_FLIGHT = """
<NTFM_FLIGHT>
    <RESFLAG>{RESFLAG}</RESFLAG>
    <TMITYPE>{TMITYPE}</TMITYPE>
    <FTMICONTENT>{FTMICONTENT}</FTMICONTENT>
    <APPROACHING_TMICONTENT>{APPROACHING_TMICONTENT}</APPROACHING_TMICONTENT>
    <WPFLAG>{WPFLAG}</WPFLAG>
    <WPEXPLAIN>{WPEXPLAIN}</WPEXPLAIN>
    <CTOT_INFO>{CTOT_INFO}</CTOT_INFO>
</NTFM_FLIGHT>
"""
